"use strict";
const utils_requestBase = require("../../utils/requestBase.js");
function complaintStat(data) {
  return utils_requestBase.request.get({
    url: "/complaint/manageStatistics",
    data
  });
}
function listComplaint(data) {
  return utils_requestBase.request.get({
    url: "/complaint/listPagePolice",
    data
  });
}
function complaintStatCount(data) {
  return utils_requestBase.request.get({
    url: "/complaint/manageStatisticsCount",
    data
  });
}
function updateComplaintStatus(data) {
  return utils_requestBase.request.put({
    url: "/complaint/updateEffectiveStatus",
    data
  });
}
function complaintStatOfPolice() {
  return utils_requestBase.request.get({
    url: "/complaint/policeStatistics"
  });
}
function addComplaint(data) {
  return utils_requestBase.request.post({
    url: "/complaint/add",
    data
  });
}
function listComplaintHis(data) {
  return utils_requestBase.request.get({
    url: "/complaint/listPage",
    data
  });
}
function delComplaint(ids) {
  return utils_requestBase.request.del({
    url: `/complaint/delete/${ids}`
  });
}
exports.addComplaint = addComplaint;
exports.complaintStat = complaintStat;
exports.complaintStatCount = complaintStatCount;
exports.complaintStatOfPolice = complaintStatOfPolice;
exports.delComplaint = delComplaint;
exports.listComplaint = listComplaint;
exports.listComplaintHis = listComplaintHis;
exports.updateComplaintStatus = updateComplaintStatus;
